package com.gtm.model;

        import com.mongodb.DBObject;
        import org.springframework.data.annotation.CreatedDate;
        import org.springframework.data.mongodb.core.mapping.Document;

        import javax.persistence.Id;
        import java.util.Date;
        import java.util.List;

@Document(collection = "translation")
public class Translation {
    @Id
    private String id;
    private String topicId;
    private String topicName;
    private String teacherId;
    private String teacherName;
    private String summary;

    @CreatedDate
    private Date createDate;
    private List<DBObject> transFile;
    private String comment;
    private String stuId;
    private String stuName;
    private String state = "PENDING";

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTopicId() {
        return topicId;
    }

    public void setTopicId(String topicId) {
        this.topicId = topicId;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public List<DBObject> getTransFile() {
        return transFile;
    }

    public void setTransFile(List<DBObject> transFile) {
        this.transFile = transFile;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
